home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Sep 90 / MacApp.Tech$ 9⁄14⁄90 / 1989-What View is mouse i-Sep90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.2 KB  |  31 lines  |  [TEXT/GEOL]

  1. Item    7452925                         14-Sept-90        12:32PDT
  2.  
  3. From:   D4887                           Advanced Comm Eng, G G Apple,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    What View is mouse in?
  8.  
  9.    Anyone have any good ideas how to determine what view I'm in when I am mouse
  10. tracking?
  11.  
  12.    I have objects on the screen, each of which includes a view which in turn
  13. contains smaller subviews.  I would like to be able to determine if the mouse
  14. is over a particular type of subview and, if so, which subview.  I would like
  15. to do this while tracking the mouse.  I suspect that a double incantation of
  16. "FirstSubViewThat" is required but so far to no avail (and I'm totally confused
  17. about "Focus").
  18.  
  19.    BTW, when not mouse tracking, I finally got my cursor to change properly
  20. (using DoSetCursor) when over these same subviews--but not without a double
  21. incantation of "GetDefaultCursorRegion" which nobody seems to have bothered to
  22. document an explanation for in any of the available MacApp references (thank
  23. the gods for a few comments in the code).
  24.  
  25. (not on MacApp.Tech$)
  26.  
  27. G. Gordon Apple  D4887
  28. Advanced Communications Engineering, Inc.
  29. Redondo Beach, CA
  30.  
  31.